home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 17 / CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso / CUCD / Games / Team17-HDinst / BodyBlowsECS / Install-BodyBlows < prev    next >
Text File  |  1997-09-21  |  2KB  |  91 lines

  1. (if (exists "Games:" (noreq) )
  2.     (set @default-dest "Games:")
  3.     (if (exists "SYS:Games" (noreq) )
  4.         (set @default-dest "SYS:Games")
  5.         (if (exists "Work:Games" (noreq) )
  6.             (set @default-dest "Work:Games")
  7.             (if (exists "JEUX:" (noreq) )
  8.                (set @default-dest "JEUX:")
  9.                (set @default-dest "SYS:")
  10.             )
  11.         )
  12.     )
  13. )
  14.  
  15. (message "\n\n\nThis loader needs the JST program (NOT INCLUDED)\n to be copied in your path\n\n(if you don't have it already)\n\nJST is available from aminet (game/patch) or on my site")
  16.  
  17. ;----------------------------
  18.  
  19. (set @default-dest
  20. (askdir
  21.     (prompt ("Where should %s installed ?\nA drawer \"%s\" will automatically created." @app-name @app-name))
  22.     (help @askdir-help)
  23.     (default @default-dest)
  24.     (disk)
  25. )
  26. )
  27.  
  28. (set #dest (tackon @default-dest @app-name))
  29.  
  30. (set #CI_unit
  31.     (askchoice
  32.         (prompt "From which disk unit do you want\nto install the game")
  33.         (help    @askoptions-help)
  34.         (choices
  35.            "DF0:"
  36.            "DF1:"
  37.            "DF2:"
  38.            "DF3:"
  39.         )
  40.     )
  41. )
  42.  
  43. (set #CI_drive ("DF%ld:" #CI_unit))
  44.  
  45.  
  46. (makedir #dest
  47.     (help @makedir-help)
  48.     (infos)
  49. )
  50.  
  51. ;----------------------------
  52.  
  53. (copyfiles
  54.     (help @copyfiles-help)
  55.     (source "BodyBlowsHD")
  56.     (dest #dest)
  57.     (infos)
  58. )
  59.  
  60. (copyfiles
  61.     (help @copyfiles-help)
  62.     (source "bbhd.readme")
  63.     (dest #dest)
  64.     (infos)
  65. )
  66.  
  67. (message ("\nInsert %s disk 1 into drive %s !" @app-name #CI_drive))
  68.     (if
  69.         (= 0 (run ("rob2file %ld \"%s/BodyBlows.d1\" 2 159 13246679 OFFSET >con:///1000//CLOSE/WAIT" #CI_unit #dest )))
  70.         ("")
  71.         (abort "\"rob2file\" must be in your PATH !")
  72.     )
  73.  
  74. (message ("\nInsert %s disk 2 into drive %s !" @app-name #CI_drive))
  75.     (if
  76.         (= 0 (run ("rob2file %ld \"%s/BodyBlows.d2\" 0 159 13246678 >con:///1000//CLOSE/WAIT" #CI_unit #dest )))
  77.         ("")
  78.         (abort "\"rob2file\" must be in your PATH !")
  79.     )
  80.  
  81. (message ("\nInsert %s disk 3 into drive %s !" @app-name #CI_drive))
  82.     (if
  83.         (= 0 (run ("rob2file %ld \"%s/BodyBlows.d3\" 0 159 13246677 >con:///1000//CLOSE/WAIT" #CI_unit #dest )))
  84.         ("")
  85.         (abort "\"rob2file\" must be in your PATH !")
  86.     )
  87.  
  88.  
  89. (exit)
  90.  
  91.